/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package gestionservicio.model.dao;

import gestionservicio.model.dao.interfaces.PersonaDao;

/**
 *
 * @author principal
 */
public abstract class DaoFactory {

     public static final int MYSQL = 1;

     //public abstract TransaccionDao getTransaccionDao();

     public abstract PersonaDao getPersonaDao();
     

    public static DaoFactory getDAOFactory(
            int whichFactory) {
        switch (whichFactory) {
      case MYSQL:
          return new MysqlDAOFactory();
      default           :
          return null;
    }
    }

}
